<?php

use Biz\service\trade\UserAddress as sAddressUser;

/**
 * 30天物访问
 * @deprecated
 */
class FetchOneAction extends ActionPlugin
{
    const USER_LEVEL = self::LEVEL_REGISTER;

    public function main()
    {
        $addressId = (int)$this->getRequest()->getQuery('id');
        $resultData = sAddressUser::getByAcceptId($addressId);
        $this->setSuccess($resultData);
    }
}